namespace FIREFLYX {
    export class GLTFProcessor implements IAssetProcessor {
        public Type: AssetType = AssetType.GLTF;
        public suffix: string = ".gltf";
        public rawType: XMLHttpRequestResponseType = "json";
        public parse(data: object, filePath: string): Nullable<Asset> {
            let gltf = new GLTF();
            let gltfPath = filePath.substring(0, filePath.lastIndexOf("/") + 1);
            gltf.setData(data as any, gltfPath);
            return gltf;
        }
    }
}